home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / programer2 / pari2 / pari / c / errmessage < prev    next >
Text File  |  1991-11-28  |  18KB  |  532 lines

  1. char *errmessage[]=
  2. {  
  3.   "what's going on ?",/* Should not occur */
  4.   
  5.   /*              ERREURS  DE  MP.S               */
  6.   
  7.   "impossible assignment S-->I",
  8.   "impossible assignment I-->S",
  9.   "impossible assignment I-->I",
  10.   "impossible assignment R-->S",
  11.   "impossible assignment R-->I",
  12.   "impossible exchange I<-->I",
  13.   "forbidden exchange I<-->R",
  14.   "overflow in integer shift",
  15.   "overflow in real shift",
  16.   "overflow in truncation",
  17.   
  18.   "precision loss in truncation",
  19.   "overflow in S+I",
  20.   "overflow in I+I",
  21.   "overflow in I+R",
  22.   "overflow in R+R",
  23.   "underflow in R+R",
  24.   "overflow in I*I",
  25.   "overflow in S*R",
  26.   "overflow in S*I",
  27.   "overflow in R*R",
  28.   
  29.   "underflow in R*R",
  30.   "overflow in I*R (R=0)",
  31.   "division by zero in S/S",
  32.   "division by zero in S/I",
  33.   "division by zero in S/R",
  34.   "division by zero in I/S",
  35.   "division by zero in I/R",
  36.   "division by zero in R/S",
  37.   "underflow in R/S",
  38.   "division by zero in R/I",
  39.   
  40.   "division by zero in R/R",
  41.   "underflow in R/R",
  42.   "overflow in R/R",
  43.   "underflow in R/I (R=0)",
  44.   "forbidden division R/R-->I or I/R-->I or R/I-->I",
  45.   "division by zero in dvmdii",
  46.   "result defined as type R in dvmdz",
  47.   "zero modulus in modss",
  48.   "result defined as type R in modz",
  49.   "division by zero in resss",
  50.   
  51.   "result defined as type R in resz",
  52.   "forbidden type in an arithmetic function",
  53.   "third operand of type real",
  54.   "the PARI stack overflows !!!",
  55.   "underflow or overflow in a R->dbl conversion",
  56.   "significant pointers are lost in gerepile !!! (please report)",
  57.   "quotient greater than or equal to 2^32 in divll",
  58.   
  59.   /*              ERREURS  DE  ALGLIN.C           */
  60.   
  61.   "not vector or matrix type in gtrans",
  62.   "not a square matrix in gaddmat",
  63.   "not a square matrix in gaddsmat",
  64.   "impossible concatenation in concat",
  65.   "not a vector or matrix type in extract",
  66.   "mask is not of type I or is zero in extract or matextract",
  67.   "too large mask in extract or matextract",
  68.   "non matrix type in matextract",
  69.   "non invertible matrix in gauss",
  70.   "non inversible matrix in invmat",
  71.   
  72.   "non square matrix in caract, caradj, sqred, carhess, or hess",
  73.   "non polynomial type or zero polynomial in assmat",
  74.   "incorrect type in trace",
  75.   "incompatible matrix dimensions in invmulmat",
  76.   "non square matrix in gauss",
  77.   "incorrect type in ker or rank, sqred, suppl, image or inverse image",
  78.   "empty matrix in suppl",
  79.   "not linearly independent columns in suppl",
  80.   "not a matrix in matrixqz",
  81.   "more rows than columns in matrixqz",
  82.  
  83.   "not a rational or integral matrix in matrixqz",
  84.   "matrix of nonmaximal rank in matrixqz",
  85.   "not a matrix in intersect",
  86.   "not a positive definite matrix in sqred1",
  87.   "internal bug in kerint, please report",
  88.  
  89.   /*              ERREURS  DE  ANAL.C          */
  90.   
  91.   "expected character: ",
  92.   "non rectangular matrix",
  93.   ";or ] expected",
  94.   "unknown identifier: ",
  95.   "unexpected character: ",
  96.   "not a simple variable in numvar",
  97.   "variable number out of range",
  98.   "I can't remember before the big bang",
  99.   "I can't see into the future",
  100.   "unknown identifier valence",
  101.   
  102.   "no more variables available",
  103.   "unknown function or error in formal parameters",
  104.   "unexpected end of input",
  105.   "variable name expected",
  106.   "can't kill that",
  107.   "array index out of range",
  108.   "too many parameters in user-defined function call",
  109.   "some argument is not of type integer at it should",
  110.   "incorrect label number in label or goto",
  111.   "incorrect type or length in matrix assignment",
  112.  
  113.   "too large exponent as input of a real number",
  114.  
  115.   /*              ERREURS  DE  ARITH.C            */
  116.   
  117.   "arithmetic functions want integer arguments",
  118.   "negative or zero argument in arithmetic function",
  119.   "negative argument in factorial function",
  120.   "non invertible argument",
  121.   "impossible inverse modulo",
  122.   "incorrect type for a continued fraction",
  123.   "non significant integral part in sfcont",
  124.   "insuffcient precision for p=2 in hil",
  125.   "impossible or incompatible types in hil",
  126.   "incompatible arguments in chinois",
  127.  
  128.   "not a positive type I argument in fundunit",
  129.   "discriminant not congruent to 0 or 1 mod 4 in fundunit",
  130.   "not able to factor this number",
  131.   "discriminant too large in classno",
  132.   "discriminant not congruent to 0 or 1 mod 4 in classno",
  133.   "non integral argument in qf",
  134.   "incorrect characters or length of a quadratic form",
  135.   "not an element of (Z/nZ)* in order",
  136.   "not a power of a prime in gener",
  137.   "not enough precalculated primes",
  138.   
  139.   "incorrect type in issquarefree",
  140.   "square argument in regula",
  141.   "incorrect type in pnqn",
  142.   "incorrect size in pnqn",
  143.   "not a real quadratic form in rhoreal or redreal",
  144.   "not a positive definite quadratic form in nucomp or nudupl",
  145.   "not an integer exponent in nupow",
  146.  
  147.  
  148.   /*              ERREURS  DE  BASE.C          */
  149.  
  150.   "not a matrix in Hermite or Smith reduction hnf",
  151.   "more rows than columns in Hermite reduction hnf or nonsquare matrix in Smith",
  152.   "Internal error in Hermite reduction hnf",
  153.   "not a k by 2 matrix as factorization in factoredbase",
  154.   "the given factorization is incorrect in factoredbase",
  155.   "not a polynomial or constant polynomial in base",
  156.   "not a polynomial or constant polynomial in galois or tchirnhausen",
  157.   "not a polynomial in Q[X] in galois",
  158.   "reducible polynomial in initalg",
  159.   "reducible polynomial in galoisconj or galoisconj2",
  160.  
  161.   /*              ERREURS  DE  BIBLI.C          */
  162.   
  163.   "not a series type in laplace",
  164.   "negative valuation in laplace",
  165.   "not a series type in convol",
  166.   "zero series in convol",
  167.   "non significant result in convol",
  168.   "incorrect argument in O()",
  169.   "non series or p-adic type in truncation",
  170.   "precision<=0 in gprec",
  171.   "quadratic discriminant is still undefined",
  172.   "incorrect indices in somme",
  173.   
  174.   "incorrect indices in produit",
  175.   "non polynomial type in polrecip",
  176.   "incorrect type or sign in vector",
  177.   "incorrect type or sign in matrix",
  178.   "incorrect indices in prodeuler",
  179.   "not a matrix type in lll or lllrat",
  180.   "not a matrix type in lllgram",
  181.   "not a square matrix in lllgram",
  182.   "not a definite matrix in lllgram",
  183.   "not a vector type in lindep",
  184.   
  185.   "more than 20 numbers in lindep",
  186.   "not a scalar type in algdep",
  187.   "not enough prime numbers",
  188.   "incorrect second argument in changevar",
  189.   "variable number too large in changevar",
  190.   "reorder wants a vector",
  191.   "indeterminate out of range in reorder",
  192.   "duplicated indeterminates in reorder",
  193.   "too many iterations for desired precision in integration routine",
  194.   "not a vector in sort, indexsort or vecsort",
  195.   
  196.   "not vectors or different lengths in polint",
  197.   "two abcissas are equal in polint",
  198.   "roots must be bracketed in zbrent",
  199.   "too many iterations in zbrent",
  200.   "too many iterations in summation method",
  201.   "index nesting level too large in",
  202.   "dimensions must be nonnegative",
  203.   "forbidden type in for or forstep",
  204.   "step equal to zero in forstep",
  205.   "not a polymod in polymodrecip",
  206.  
  207.   "zero polymod in polymodrecip",
  208.   "not an integral matrix in lllgramint",
  209.  
  210.   /*           ERREURS DANS ELLIPTIC.C            */
  211.  
  212.   "bad argument for an elliptic curve related function",
  213.   "valuation of j must be negative in p-adic initell",
  214.   "singular curve in initell",
  215.   "point not on elliptic curve",
  216.   "forbidden type in zell",
  217.   "too large prime in jacobi apell2, use apell instead",
  218.   "internal error in apell",
  219.   "f^(com*s) = 1 ???: internal error in appell1",
  220.   "inconsistency in Tate's algorithm (please report)",
  221.   "cut-off point must be positive in lseriesell",
  222.  
  223.   /*              ERREURS  DE  ES.C               */
  224.   
  225.   "variable number too large in impvar",
  226.   "discriminant not congruent to 0 or 1 mod 4",
  227.   "inexistent format",
  228.     
  229.   /*             ERREUR DANS GEN1.C                */
  230.  
  231.   "incorrect types in addition",
  232.   "forbidden addition R+Imod",
  233.   "forbidden addition Imod+Cx",
  234.   "forbidden addition scalar+vector/matrix",
  235.   "forbidden addition polynomial+vector/matrix",
  236.   "forbidden addition series+polynomial/vector/matrix",
  237.   "forbidden addition polmod+vector/matrix",
  238.   "forbidden addition fraction+vector/matrix",
  239.   "impossible addition vector+matrix",
  240.   "forbidden addition type+Cx",
  241.  
  242.   "impossible addition Quad+Quad",
  243.   "impossible addition p-adic+p-adic",
  244.   "incorrect types in gmul",
  245.   "forbidden multiplication R*Imod",
  246.   "forbidden multiplication Imod*Cx",
  247.   "forbidden multiplication series*polmod",
  248.   "impossible multiplication vector*vector",
  249.   "impossible multiplication vector*matrix",
  250.   "impossible multiplication matrix*vector",
  251.   "impossible multiplication matrix*matrix",
  252.  
  253.   "forbidden multiplication type*Cx",
  254.   "impossible multiplication Quad*Quad",
  255.   "impossible multiplication p-adic*p-adic",
  256.   "incorrect type in gdiv",
  257.   "division by zero in gdiv or gdivgs",
  258.   "forbidden division R/Imod",
  259.   "forbidden division Imod/R",
  260.   "forbidden division Imod/Cx",
  261.   "forbidden division Cx/Imod",
  262.   "forbidden division scalar/vector",
  263.  
  264.   "division scalar/non square matrix",
  265.   "forbidden division polynomial/vector or matrix",
  266.   "forbidden division series/polmod",
  267.   "forbidden division series/vector or matrix",
  268.   "forbidden division polmod/series",
  269.   "forbidden division polmod/vector or matrix",
  270.   "forbidden division ratfun/vector or matrix",
  271.   "division vector or matrix/vector or non square matrix",
  272.   "impossible division Quad/Quad",
  273.   "impossible division p-adic/p-adic",
  274.   
  275.   /*        ERREURS  DE  GEN2.C ET GEN3.C         */
  276.   
  277.   "non polynomial type in greffe",
  278.   "error in mnet",
  279.   "forbidden type in gexpo",
  280.   "exact and zero argument in gexpo",
  281.   "forbidden type in a comparison",
  282.   "forbidden type in gtolong",
  283.   "zero argument in gval",
  284.   "forbidden or conflicting type in gval",
  285.   "forbidden type in gabs",
  286.   "impossible assignment S-->vector",
  287.  
  288.   "impossible assignment S-->matrix",
  289.   "incorrect type in gaffect",
  290.   "impossible assignment S-->",
  291.   "forbidden assignment R-->",
  292.   "forbidden assignment Imod-->",
  293.   "impossible assignment Imod-->Imod",
  294.   "forbidden assignment Imod-->p-adic",
  295.   "impossible assignment Frac-->I",
  296.   "impossible assignment Cx-->",
  297.   "impossible assignment Quad-->",
  298.  
  299.   "forbidden assignment p-adic-->",
  300.   "impossible assignment p-adic-->Imod",
  301.   "impossible assignment p-adic-->p-adic",
  302.   "forbidden assignment generic-->scalar",
  303.   "impossible assignment polynomial-->polynomial",
  304.   "forbidden assignment polynomial-->vector/matrix",
  305.   "forbidden assignment series-->",
  306.   "forbidden assignment Polmod-->",
  307.   "impossible assignment Polmod-->Polmod",
  308.   "forbidden addition p-adic+Quad",
  309.  
  310.   "forbidden assignment rational function-->polynomial/vector/matrix",
  311.   "impossible assignment vector/matrix-->vector/matrix",
  312.   "impossible assignment Quad-->Quad",
  313.   "type error in gpui",
  314.   "non zero exponent in gpui",
  315.   "zero to a non positive exponent in gpui",
  316.   "underflow or overflow in gpui",
  317.   "incorrect type in gdivent or gdiventres",
  318.   "incorrect type in gdivmod",
  319.   "different types in gbezout",
  320.  
  321.   "incorrect type in gbezout",
  322.   "incorrect type in ginvmod",
  323.   "forbidden type in gmul2n",
  324.   "inverse of a vector is forbidden",
  325.   "not a series or pol type in normalize or normalizepol",
  326.   "type mod I forbidden in gmod",
  327.   "type mod polynomial forbidden in gmod",
  328.   "modulus type forbidden in gmod",
  329.   "forbidden substitution in a scalar type",
  330.   "forbidden substitution by a vector",
  331.  
  332.   "forbidden substitution by a non square matrix",
  333.   "non polynomial or series type substituted in a series",
  334.   "valuation non positive in a series substitution",
  335.   "reversion of a non series or of a series of valuation not equal to 1",
  336.   "forbidden derivation of a polmod",
  337.   "forbidden type in integration",
  338.   "a log appears in the integration, I don\'t know how to handle that yet",
  339.   "forbidden type in gfloor",
  340.   "forbidden type in ground",
  341.   "forbidden type in gcvtoi",
  342.  
  343.   "not an integer modulus in cvtop or gcvtop",
  344.   "forbidden type in cvtop",
  345.   "forbidden type in grndtoi",
  346.   "forbidden type in gceil",
  347.   "forbidden type in gtrunc",
  348.   "nonexistent component",
  349.   "forbidden type in degree",
  350.   "forbidden type in gsigne",
  351.   "forbidden type in iscomplex",
  352.   "forbidden type in denom",
  353.  
  354.   "forbidden type in numer",
  355.   "forbidden type in negation",
  356.   "forbidden type in lift or centerlift",
  357.   "not a vector or matrix type in matsize",
  358.   "inexistent type in simplify",
  359.  
  360.   /*              ERREURS DE GP.C             */
  361.  
  362.   "too many include files",
  363.   "error opening input file",
  364.   "error opening output file",
  365.   "error opening log file pari.log",
  366.  
  367.   /*              ERREURS DE INIT.C             */
  368.   
  369.   "not enough memory",
  370.   "user interrupt",
  371.   "no more blocks available",
  372.   "function already exists in install",
  373.   
  374.   /*              ERREURS  DE  POLARIT.C          */
  375.   
  376.   "non polynomial type in eucl. div. (gdeuc)",
  377.   "non polynomial type in eucl. div. (gres)",
  378.   "non polynomial type in eucl. div. (poldivres)",
  379.   "eucl. div. by zero (gdeuc)",
  380.   "eucl. div  by zero (gres)",
  381.   "eucl. div. by zero (poldivres)",
  382.   "non polynomial type in roots",
  383.   "zero polynomial in roots",
  384.   "too many iterations in roots",
  385.   "INTERNAL ERROR: incorrect result in roots",
  386.   
  387.   "deg(x)<deg(y) in euclidean pseudodiv",
  388.   "incorrect type in bezoutpol",
  389.   "incorrect type or zero polynomial in factmod",
  390.   "non invertible fraction in a gcd with Imod or polymod",
  391.   "forbidden gcd polynomial or power series with vector/matrix",
  392.   "forbidden gcd rational function with vector/matrix",
  393.   "gcd vector/matrix with a forbidden type",
  394.   "non polynomial in resultant",
  395.   "different variables in resultant",
  396.   "incorrect type in discsr",
  397.  
  398.   "non polynomial type in polgcd",
  399.   "non polynomial or zero in polynomial function",
  400.   "not a squarefree polynomial in sturm",
  401.   "not a nonzero polynomial in factpol",
  402.   "internal error: bug in factpol",
  403.   "internal error: bug in Hensel lift",
  404.   "not a polynomial in newtonpoly",
  405.   "incorrect type(s) or zero polynomial in rootpadic or factorpadic",
  406.   "root does not exist in rootpadic",
  407.   "nonzero valuation for f'(x0) in approxp",
  408.  
  409.   "nonpositive precision in rootpadic",
  410.   "not a polynomial in poleval",
  411.   "not a polynomial in polfnf",
  412.   "X is not the main variable of the number field in polfnf",
  413.   "not a polynomial in nfiso or nfincl",
  414.   "constant polynomial in nfiso or nfincl",
  415.   "not a polynomial in Q[X] in nfiso or nfincl",
  416.   "not an irreducible polynomial in nfiso or nfincl",
  417.   "not a polynomial in rootsof1",
  418.   "constant polynomial in rootsof1",
  419.  
  420.   /*              ERREURS  DE  TRANS.C            */
  421.   
  422.   "not a Quad/Cx type in gnorm",
  423.   "not a vector type in gnorml2",
  424.   "incorrect type in gconj",
  425.   "incorrect type in greal",
  426.   "incorrect type in gimag",
  427.   "not a type R in mpsqrt",
  428.   "negative argument in mpsqrt",
  429.   "forbidden type in gsqrt",
  430.   "infinite precision in gsqrtz",
  431.   "non quadratic residue in gsqrt",
  432.   
  433.   "odd exponent in gsqrt",
  434.   "not a type R in mpexp1",
  435.   "forbidden type in gexp",
  436.   "infinite precision in gexpz",
  437.   "negative exponent in gexp",
  438.   "not a type R in mplog",
  439.   "non positive argument in mplog",
  440.   "forbidden type in glog",
  441.   "infinite precision in glogz",
  442.   "negative exponent in glog",
  443.   
  444.   "not a type R in mpsc1",
  445.   "loss of precision in mpsc1",
  446.   "not a type R in mpcos",
  447.   "forbidden type in gcos",
  448.   "infinite precision in gcosz",
  449.   "negative exponent in gcos",
  450.   "nor a type R in mpsin",
  451.   "forbidden type in gsin",
  452.   "infinite precision in gsinz",
  453.   "negative exponent in gsin",
  454.   
  455.   "not a type R in mpsincos",
  456.   "forbidden type in gsincos",
  457.   "non zero exponent in gsincos",
  458.   "forbidden type in gtan",
  459.   "infinite precision in gtanz",
  460.   "negative exponent in gtan",
  461.   "not a type R in mpatan",
  462.   "forbidden type in gatan",
  463.   "infinite precision in gatanz",
  464.   "negative exponent in gatan",
  465.   
  466.   "not a type R in mpasin",
  467.   "forbidden argument in mpasin",
  468.   "forbidden type in gasin",
  469.   "infinite precision in gasinz",
  470.   "negative exponent in gasin",
  471.   "not a type R in mpacos",
  472.   "forbidden argument in mpacos",
  473.   "forbidden type in gacos",
  474.   "infinite precision in gacosz",
  475.   "negative exponent in gacos",
  476.   
  477.   "not a type R in mparg",
  478.   "zero argument in mparg",
  479.   "forbidden type in gch",
  480.   "infinite precision in gchz",
  481.   "not a type R in mpch",
  482.   "forbidden type in gsh",
  483.   "infinite precision in gshz",
  484.   "not a type R in mpsh",
  485.   "not a type R in mpth",
  486.   "forbidden type in gth",
  487.   
  488.   "infinite precision in gthz",
  489.   "not a type R in mpash",
  490.   "forbidden type in gash",
  491.   "infinite precision in gashz",
  492.   "negative exponent in gash",
  493.   "not a type R or<1 in mpach",
  494.   "forbidden type in gach",
  495.   "infinite precision in gachz",
  496.   "negative exponent in gach",
  497.   "not a type R in mpath",
  498.   
  499.   "forbidden type in gath",
  500.   "infinite precision in gathz",
  501.   "negative exponent in gath",
  502.   "not a type R in mpgamma",
  503.   "negative or zero integer argument in mpgamma",
  504.   "forbidden type in ggamma",
  505.   "infinite precision in ggammaz",
  506.   "argument too large in gammademi",
  507.   "forbidden type in ggamd",
  508.   "infinite precision in ggamdz",
  509.   
  510.   "forbidden type in gpsi",
  511.   "infinite precision in gpsiz",
  512.   "zero argument in palog",
  513.   "not a p-adic argument in teicher",
  514.   "p-adic argument out of range for exponentiation",
  515.   "agm of two vector/matrices",
  516.   "binary quadratic forms cannot be used in transcendental functions",
  517.   "q>=1 in theta",
  518.   "not an integer index in jbesselh",
  519.   "argument equal to one in zeta",
  520.   "forbidden type in zeta",
  521.   "infinite precision in gzetaz",
  522.   "negative index in polylog",
  523.  
  524.   /*             BARATIN GENERAL                */
  525.  
  526.   "",
  527.   
  528.   /*             ERREUR PAS ENCORE IMPLEMENTE   */
  529.   
  530.   "sorry, the function"
  531. };
  532.